package org.jweb.demo.trans.form;

import java.util.ArrayList;

import org.jweb.core.bean.SearchForm;
import org.jweb.core.bean.annotation.Mapping;
import org.jweb.demo.entity.DemoGoodsEntity;

@Mapping(entityClass=DemoGoodsEntity.class)
public class DemoGoodsSearchForm extends SearchForm{

	@Mapping("id")
	private String goodsId;
	@Mapping("name")
	private String goodsName;
	@Mapping("typeSet.typeEntity.id")
	private String goodsTypeId;
	@Mapping("typeSet.typeEntity.code")
	private String goodsTypeCode;
	@Mapping("typeSet.typeEntity.name")
	private String goodsTypeName;
	@Mapping("picSet.descript")
	private String goodsPicName;
	@Mapping("typeSet")
	private ArrayList<DemoGoodsTypeRSearchForm> typeList ;
	@Mapping("picSet")
	private ArrayList<DemoGoodsPicSearchForm> picList ;
	public String getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsTypeId() {
		return goodsTypeId;
	}
	public void setGoodsTypeId(String goodsTypeId) {
		this.goodsTypeId = goodsTypeId;
	}
	public String getGoodsTypeCode() {
		return goodsTypeCode;
	}
	public void setGoodsTypeCode(String goodsTypeCode) {
		this.goodsTypeCode = goodsTypeCode;
	}
	public String getGoodsTypeName() {
		return goodsTypeName;
	}
	public void setGoodsTypeName(String goodsTypeName) {
		this.goodsTypeName = goodsTypeName;
	}
	public String getGoodsPicName() {
		return goodsPicName;
	}
	public void setGoodsPicName(String goodsPicName) {
		this.goodsPicName = goodsPicName;
	}
	public ArrayList<DemoGoodsTypeRSearchForm> getTypeList() {
		return typeList;
	}
	public void setTypeList(ArrayList<DemoGoodsTypeRSearchForm> typeList) {
		this.typeList = typeList;
	}
	public ArrayList<DemoGoodsPicSearchForm> getPicList() {
		return picList;
	}
	public void setPicList(ArrayList<DemoGoodsPicSearchForm> picList) {
		this.picList = picList;
	}
	
	
}
